<!DOCTYPE html>
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript">
    var url = "http://api.map.baidu.com/place/v2/search?query=银行&page_size=10&page_num=0&scope=1&region=北京&output=json&ak=rQdNKQPGtCNWSc92KGRjlsjX6ZjdM4PA&callback=?";
    $.getJSON(url,{},function(data){
        alert(data);
        console.log(data);
       // alert(data.results[0].address);
       // alert(data.results[0].location.lng+"  "+data.results[0].location.lat);
        $(data.results).each(function () {
            alert("地址:"+this.address+"   银行:"+this.name);
        })
    })
</script>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

</body>
</html>